package com.baitengsoft.patentapimonitor.api.service;

import com.baitengsoft.patentapimonitor.api.entity.WebRolesmenuRlatEntity;
import com.baitengsoft.patentapimonitor.api.model.MenuViewModel;

import java.util.List;
import java.util.Map;

/**
 * Created by Admin on 2017/12/19.
 */
public interface WebRolesmenuRlatService {

    List<WebRolesmenuRlatEntity> searchByRolesID(int rolesID);

    Integer saveRolesMenuRlat(String rolesName,String ids,String id,int userId);

    Map<String,Object> delRolesMenuRlat(String ids, int userId);

    MenuViewModel searchModelByRolesId(String id);
}
